package Servlets;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import classes.Log;

public class Temp extends HttpServlet{

	public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException, IOException{
		System.out.println("in servlet");
		Log g=new Log();
		String email=req.getParameter("txtemail");
		System.out.println(email);
		g.writeIntoErrorLog(email);
	}
public void doPost(HttpServletRequest req,HttpServletResponse res)throws ServletException{
		
	}
}
